import {
	LOG
} from '@/services/api'
import {
	request,
	METHOD
} from '@/utils/request'

/**
 * 登录日志
 * @returns {Promise<AxiosResponse<T>>}
 */
export async function list(params) {
	return request(LOG + "/loginList", METHOD.GET, params)
}

/**
 * 操作日志
 * @returns {Promise<AxiosResponse<T>>}
 */
export async function list2(params) {
	return request(LOG + "/operateList", METHOD.GET, params)
}